<template>
    <view>

    </view>
</template>
<script>
export default {
    
    data() {
        return {
            show:false
        }
    },
    onShow(){
        console.log(getCurrentPages())
            that.show=false
    },
    onLoad(options) {
        let that=this
        uni.openLocation({
            latitude: Number(40.846992),
            longitude: Number(111.762779),
            name: '内蒙古自治区呼和浩特市新城区成吉思汗大街街道政务服务中心'
        }).then(val=>{
            console.log(val)
            that.show=true
        })
    },
    watch:{

			localdata: {
				immediate: true,
				handler(val, old) {
                    console.log(val, old)
                }
            }
    },
    methods: {
    }
}
</script>